<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>User Enable</title>
<html:base/>
<link type="text/css" rel="stylesheet" href="../../stylesheets/main.css"/>
</head>
<body>
<div id="top">
<p>
<bean:message key="application.title"/>
</p>
<table>
<tr>
<td><html:link action="/Welcome"><bean:message key="application.mainmenu.home"/></html:link></td>
<td><html:link action="/userRegistration"><bean:message key="application.mainmenu.registration"/></html:link></td>
<td><html:link action="/administration"><bean:message key="application.mainmenu.administration"/></html:link></td>
<td><html:link action="/Logoff"><bean:message key="application.mainmenu.logoff"/></html:link></td>
</tr>
</table>
</div>

<div id="left">


</div>

<div id="middle">
<html:errors/>
<logic:present name="users">
<table>
<html:form action="/userEnableSubmit?page=1">
	<thead>
	<th><bean:message key="userRegistration.firstName"/></th>
	<th><bean:message key="userRegistration.lastName"/></th>


	</thead>
	<logic:iterate name="users" id="user1">
	<tr>
		<td>
		<html:multibox property="selectedUser">
			<bean:write name="user1" property="email" />
		</html:multibox>
		<bean:write name="user1" property="firstName" />
		</td>



		<td>
		<bean:write name="user1" property="lastName" />
		</td>


		</tr>
	</logic:iterate>
	<tr>
	<td>
	<html:submit value="Abilita"/>
	</td>
	</tr>
	</html:form>
</table>
</logic:present>

</div>
<div id="right"></div>
<div id="bottom">
<table align="center">
<tr><td align="center"><bean:message key="application.lastupdate"/></td></tr>
<tr><td><bean:message key="application.power.logo"/></td></tr>
</table>
</div>
</body>
</html>